package com.xu.cloud.common.trace;

/**
 * 序列traceId上下文
 *
 * @author xuguan
 * @since 2025/1/8
 */
public class SimpleTraceIdContext implements TraceIdContext {

    private final String traceId;

    public SimpleTraceIdContext(String traceId) {
        this.traceId = traceId;
    }

    @Override
    public String getTraceId() {
        return traceId;
    }
}
